502 Bad Gateway
Phpstorm 10.0.1
I was learning "upload files" a class encountered, with the Google Chrome browser Windows platform, the normal output echo what is not a problem, an "upload image" appears, and then all of the PHP or HTML to run is
In the actual application of the site construction, prone to a lot of small mistakes, like MySQL was optimized not in place, the impact of the overall site browsing effect, in fact, the site's regular HTTP status code performance is the same, Google
For the Internet family, I believe that you often visit certain pages, some pages will be inaccessible, prompted: 404 Not Found. Many Web pages may feel 404 Not Found is the page is not found or has been deleted. But if you're still stuck on all the
1. Implemented by the header () method,The simplest way, and there's no limit to the PHP version.Header (' http/1.1 404 Not Found ');Header ("status:404 not Found");?>When the server is set to 404 pages, access to the PHP will automatically return 40
Http status code (200, 404, 500, etc.) (to CSDN), 500 and other csdn
When we send a request from a client to the serverThe server returns the status code to us.The status code is the status of the server response.Through this, we can know whether
ObjectiveAfter the request is sent on the network, it is often judged by the request's status code that the successful failure or not, the common status code is 200,404,500.But do you think there are only so many status codes for HTTP requests? is
This is a more comprehensive HTTP request error status code Daquan link address: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html, the following are just a few of the common occurrences.
1xx (Temporary response)A status code that represents a
404 indicates that the file or resource was not foundCommon error codes for Java web1.1xx-Information tip: These status codes represent a temporary response. The client should be prepared to receive one or more 1xx responses before receiving a
OneHTTP status CodeIf a request is sent to your server asking to display a webpage on your site (for example, when a user accesses your page through a browser or Googlebot crawls a webpage), the server returns an HTTP status code in response to the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.